﻿using Ledict.ConditionExtract.DAL;
using Ledict.ConditionExtract.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ledict.ConditionExtract.BLL
{
    public class SYS_QuoteLawConditionBLL
    {
        SYS_QuoteLawConditionDAL dal = new SYS_QuoteLawConditionDAL();

        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="Model"></param>
        /// <returns></returns>
        public bool AddSYS_QuoteLawCondition(SYS_QuoteLawCondition Model)
        {
            return dal.AddSYS_QuoteLawCondition(Model);
        }

        /// <summary>
        /// 修改一条数据
        /// </summary>
        public bool UpdateSys_QuoteLawCondition(SYS_QuoteLawCondition Model)
        {
            return dal.UpdateSys_QuoteLawCondition(Model);
        }

        /// <summary>
        /// 删除一条数据
        /// </summary>
        public bool Delete(string QLC_ID)
        {
            return dal.Delete(QLC_ID);
        }
    }
}
